package com.example.myapplication.entity;


import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class Pay {

    @Id(autoincrement = true)
    private Long id;
    private double pay;//支出
    private Date payDate;
    private String payType;    //支出类型，包括 life（生活日用）travel(交通出行) food（餐饮美食） fun（休闲娱乐） learn（文体教育） close（服饰美容）
    private String payRemarks;
    @Generated(hash = 1487626047)
    public Pay(Long id, double pay, Date payDate, String payType, String payRemarks) {
        this.id = id;
        this.pay = pay;
        this.payDate = payDate;
        this.payType = payType;
        this.payRemarks = payRemarks;
    }
    @Generated(hash = 1111296022)
    public Pay() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public double getPay() {
        return this.pay;
    }
    public void setPay(double pay) {
        this.pay = pay;
    }
    public Date getPayDate() {
        return this.payDate;
    }
    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }
    public String getPayType() {
        return this.payType;
    }
    public void setPayType(String payType) {
        this.payType = payType;
    }
    public String getPayRemarks() {
        return this.payRemarks;
    }
    public void setPayRemarks(String payRemarks) {
        this.payRemarks = payRemarks;
    }

   
}
